package com.rongxue.mapper;

import com.rongxue.pojo.SBankType;
import com.rongxue.pojo.SBankTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SBankTypeMapper {
    int countByExample(SBankTypeExample example);

    int deleteByExample(SBankTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SBankType record);

    int insertSelective(SBankType record);

    List<SBankType> selectByExample(SBankTypeExample example);

    SBankType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SBankType record, @Param("example") SBankTypeExample example);

    int updateByExample(@Param("record") SBankType record, @Param("example") SBankTypeExample example);

    int updateByPrimaryKeySelective(SBankType record);

    int updateByPrimaryKey(SBankType record);
    List<SBankType> selectBankList(SBankType record);

    //根据银行的bankcode查询信息
    SBankType selectByBankCode(@Param("bankCode") String bankCode);

    SBankType selectByBankFullName(String bank);
}